package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.CheckGroupDto;
import com.itheima.entry.PageResult;
import com.itheima.entry.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.vo.CheckGroupVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author jshstart
 * @creat 2020-11-11 19:27
 */
public interface CheckGroupService extends IService<CheckGroup> {
    //void addGroup(CheckGroupDto CheckGroupDto);
    void addGroup(CheckGroupDto checkGroupDto);

    PageResult findAllGroupByPage(QueryPageBean queryPageBean);

    List<CheckGroup> findAll();

    void deleteById(Integer id);

    List<CheckGroupVo> findAllGroupBySetmealId(Long id);
}
